<!DOCTYPE html>
<html lang="zh-Hans" xmlns:th="http://www.thymeleaf.org">
<th:block th:include="frontInclude :: frontHeader"/>
<body>
<header class="header opaque" th:replace="frontInclude :: header_menu"></header>

<div class="container">
    <div class="main w1200">
        <div class="article w1">
            <div class="archive-top">
                <div class="archive-title">
                    <h1 itemprop="headline" th:text="${article.articleTitle}">云南滇约新能源研究院</h1>
                    <span></span>
                </div>
            </div>
            <p>
                位置：<a th:href="@{/front/index}">首页</a>
                <a th:each="m : ${parent}" th:text="'/ '+ ${m.menuName}" th:href="${m.pageUrl}"></a>
            </p>
            <div class="article-box">
                <header class="article-top">
                    <div class="article-mt">
                        <span>
                            <i class="fa fa-list-alt"></i>
                            <a th:href="${current.pageUrl}"
                               th:text="${current.menuName}"></a>                        </span>
                        <span><i class="fa fa-user"></i>管理员</span>
                        <span><i class="fa fa-clock-o"></i><span
                                th:text="${#dates.format(article.createTime,'yyyy-MM-dd')}">2022-09-02 11:40:58</span></span>
                        <span><i class="fa fa-eye"></i><span th:text="${article.viewCount}">61</span></span>
                    </div>
                </header>
                <article class="article-main" th:utext="${article.articleContent}">
                </article>
            </div>
            <div class="prev" th:if="${prev==null}">
                上一篇： 没有了！
            </div>
            <div class="prev" th:if="${prev!=null}">
                上一篇： <a th:href="${'/front/articleView/'+prev.id}" th:text="${prev.articleTitle}"></a>
            </div>
            <div class="next" th:if="${next==null}">
                下一篇： 没有了！
            </div>
            <div class="next" th:if="${next != null}">
                下一篇： <a th:href="${'/front/articleView/'+next.id}" th:text="${next.articleTitle}"></a>
            </div>
        </div>
    </div>
</div>


<script>
    $('.header').removeClass('opaque').addClass('noOpaque')
</script>

<div th:replace="frontInclude :: footer"></div>
</body>
</html>